<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/30
 * Time: 18:26
 */

namespace app\console\model;


class ConfigType extends Base
{
    // 配置项类型与配置项关联
    public function Config()
    {
        return $this->hasMany('Config', 'vargroup', 'id')->order('create_time', 'asc');
    }
}